#include "cpu/exec/template-start.h"

#define instr text

static void do_execute() {
	//cpu.esp -= DATA_BYTE;
    //swaddr_write(cpu.esp,DATA_BYTE,cpu.eip);
    
    uint32_t res;
    res=op_src->val& op_dest->val;
    cpu.eflags.CF=0;
    cpu.eflags.OF=0;
    
    //Log(" cpu.eip=%x",cpu.eip);
    
    update_eflags_pf_zf_sf(res);

	print_asm(str(instr)" %s,%s", op_src->str, op_dest->str);
}
make_instr_helper(r2rm);

make_instr_helper(i2rm);

make_instr_helper(i2r);


#include "cpu/exec/template-end.h"
